/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

import android.os.Parcel;
import android.os.Parcelable;
//import anet.channel.strategy.dispatch.DispatchConstants;
//import com.taobao.accs.common.Constants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
//import kotlinx.android.parcel.Parcelize;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class LeftBottom implements Parcelable {
    @NotNull
    public static final Parcelable.Creator<LeftBottom> CREATOR = new Creator();
    private final float x;
    private final float y;

    /* compiled from: ImageBoxEntity.kt */
    @Metadata(k = 3, mv = {1, 7, 1}, xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<LeftBottom> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        @NotNull
        public final LeftBottom createFromParcel(@NotNull Parcel parcel) {
            Intrinsics.checkNotNullParameter(parcel, "parcel");
            return new LeftBottom(parcel.readFloat(), parcel.readFloat());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        @NotNull
        public final LeftBottom[] newArray(int i2) {
            return new LeftBottom[i2];
        }
    }

    public LeftBottom(float f2, float f3) {
        this.x = f2;
        this.y = f3;
    }

    public static /* synthetic */ LeftBottom copy$default(LeftBottom leftBottom, float f2, float f3, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            f2 = leftBottom.x;
        }
        if ((i2 & 2) != 0) {
            f3 = leftBottom.y;
        }
        return leftBottom.copy(f2, f3);
    }

    public final float component1() {
        return this.x;
    }

    public final float component2() {
        return this.y;
    }

    @NotNull
    public final LeftBottom copy(float f2, float f3) {
        return new LeftBottom(f2, f3);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof LeftBottom)) {
            return false;
        }
        LeftBottom leftBottom = (LeftBottom) obj;
        return Float.compare(this.x, leftBottom.x) == 0 && Float.compare(this.y, leftBottom.y) == 0;
    }

    public final float getX() {
        return this.x;
    }

    public final float getY() {
        return this.y;
    }

    public int hashCode() {
        return (Float.floatToIntBits(this.x) * 31) + Float.floatToIntBits(this.y);
    }

    @NotNull
    public String toString() {
        return "LeftBottom(x=" + this.x + ", y=" + this.y + ')';
    }

    @Override // android.os.Parcelable
    public void writeToParcel(@NotNull Parcel out, int i2) {
        Intrinsics.checkNotNullParameter(out, "out");
        out.writeFloat(this.x);
        out.writeFloat(this.y);
    }
}